//
//  XNFeedBackViewController.m
//  XNBeeHive_Example
//
//  Created by xn on 2022/1/4.
//  Copyright © 2022 helinyu. All rights reserved.
//

#import "XNFeedBackViewController.h"
#import "XNFeedBackVcService.h"
#import "XNFeedBackVcService.h"
#import "BHServiceManager.h"

@interface XNFeedBackViewController ()<XNFeedBackVcService>

@end

@implementation XNFeedBackViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor redColor];
    
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeSystem];
    [self.view addSubview:btn];
    btn.frame = CGRectMake(100.f, 100.f, 100.f, 100.f);
    btn.backgroundColor = [UIColor blueColor];
    [btn addTarget:self action:@selector(test) forControlEvents:UIControlEventTouchUpInside];
    
    
    
    
}

- (void)test {
    UIViewController *vc = [[BHServiceManager sharedManager] createService:@protocol(XNFeedBackVcService)];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
